package com.bincloud.vue.admin.common.constanst;

/**
 * SQL 常量
 * @author bincloud, mvpzhou
 */
public class RedisConstant {

    private RedisConstant(){}

    public static final String REDIS_PREFIX = "vue_admin_service:";

    /**
     * 图形验证码
     */
    public static final String CAPTCHA = REDIS_PREFIX + "captcha:";

    /**
     * 双因子验证码
     */
    public static final String TWO_FACTOR_CAPTCHA = REDIS_PREFIX + "two_factor_captcha:";

    /**
     * 临时用户缓存
     */
    public static final String TEMPORARY_USER_CACHE = REDIS_PREFIX + "temporary_user_cache:";

    /**
     * 密码错误缓存
     */
    public static final String BAD_PASSWORD_CACHE = REDIS_PREFIX + "bad_password_cache:";

    /**
     * 用户登录黑名单
     */
    public static final String USER_LOGIN_BLACKLIST = REDIS_PREFIX + "user_login_blacklist:";

    /**
     * 在线用户缓存
     */
    public static final String ONLINE_USER_CACHE = REDIS_PREFIX + "online_user_cache:";

}
